package com.ext.aic.beans.response;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Response<T> implements Serializable {

    @SerializedName(value = "code", alternate = {"statusCode"})
    private int code;

    @SerializedName(value = "msg", alternate = {"message"})
    private String message;

    private T data;
}
